home *** CD-ROM | disk | FTP | other *** search
- name Fanuc 0T
-
- % 00
- O >4
- N >3
- G >2
- X ->3.>4
- Z ->3.>4
- D 2
- I ->3.>4
- K ->3.>4
- U ->3.>4
- W ->3.>4
- P ->3.>4
- A 60 P
- Q ->3.>4
- q >4 Q
- R ->3.>4
- F >3.>6
- T 2
- t 2
- S >4
- M >2
-
- ModalGs 0 1 2 3 73 76 80 81 82 83 84 85 # List of g codes that are modal
-
- First#? N # Y or N 'Output 1st sequence no.
- Sequence#s N 0 1 1 # Char, freq, incr & start
- Comment ( ) # Begin End comment char.
-
- HCode Z # X or X U 'Horizontal char.
- VCode X # Y or Y V 'Vertical char.
- FeedCode F # Feed rate char.
-
- Spindle 3 4 5 # Cw, ccw & stop m codes
- Coolant 8 9 7 # On, Off & Mist m codes
- SpeedType G 97 96 # CSS and RPM g codes
- FeedType G 95 94 # IPR & IPM g codes
- Dcomp 41 42 40 # Left, Right & Cancel m codes
-
- ByDiameter? Y # Y or N 'Output X val. by diameter
- RevSigns X I
- CtrIncremental? Y # Y or N 'Inc or abs I & J
- Inc/Abs G 91 90 # Inc & Abs char. & values
- Inch/MM 20 21 # Inch & Metric g codes
-
- CtrCode K I # I J or R or I J K L
-
- Feed G1 # Linear move
- Rapid G0 # Rapid positioning word
- Cw G3 # Circular move clockwise
- Ccw G2 # Circular move counter clockwise
-
- UppercaseComments? Y # Y or N 'Require uppercase comments
-
- Drill # Drilling canned/manual cycle
- G74 R[Depth]
- G74 Z[Depth] F[FRate]
- end
-
- Peck # Pecking canned/manual cycle
- G74 R[Depth]
- G74 Z[H] Q[SBite] F[FRate]
- end
-
- Tap # Tapping canned/manual cycle
- G84 Z[H] F[FRate]
- end cancel
-
- Ream # Reaming canned/manual cycle
- G85 Z[H] F[FRate]
- end cancel
-
- Bore # Boring canned/manual cycle
- G74 R0
- G74 Z[H] R[SClear] F[FRate]
- end
-
- AutoThread # Automatic thread canned cycle
- G76 A[TParams] Q[VBite] R0
- G76 X[V] Z[H] R[StartAng] P[Depth] q[Peck1] F[Frate]
- end
-
- Cancel # Cancel a canned/manual cycle
- G80
- end
-
- StartCode # Start of the program
- %0
- O[Program#]
- end
-
- 1stToolChange # First tool change
- T[Tool]
- G[FeedType] G[SpeedType] S[Speed] M[Direct]
- G0 X[V] Z[H] T[Tool] t[Dcomp] M[Cool]
- End
-
- Infeed # Enable cutter comp
- G1 G[Side] X[V] Z[H] D[Dcomp] F[FRate]
- end
-
- Outfeed # Disable cutter comp
- G1 X[V] Z[H] F[FRate]
- end
-
- ToolChange # Secondary tool changes
- G0 Z[ToolH] T[Tool] t0 M9
- M1
- T[Tool]
- G[FeedType] G[SpeedType] S[Speed] M[Direct]
- G0 X[V] Z[H] T[Tool] t[Dcomp] M[Cool]
- End
-
- EndCode # End of the program
- G0 X[ToolH] Z[ToolH] T[Tool] t0 M9
- M5
- M30
- %0
- End
-
- Replace "t" with ""
-